<?php
/**
 * Created by PhpStorm.
 * User: yangsen
 * Date: 15/7/2
 * Time: 上午11:32
 */
?>


<form class="ui-table" action="./pay/payGateway" id="form_createaccount" method="post">
    <div class="ui-form-item ui-border-b">
        <label>
            开户金额
        </label>
        <input type="text" id="money" name="money" value="0.1" placeholder="输入金额,最少10元">
        <input type="hidden" name="biz_flag" value="createaccount"/>
        <a href="#" class="ui-icon-close">
        </a>
    </div>
    <div class="ui-btn-wrap">
        <button type="button" onclick="commitCreateAccount()" class="ui-btn-lg ui-btn-danger">
            确定
        </button>
    </div>
</form>
<script>
    function commitCreateAccount() {
        if($('#money').val()<10) {

        }
        $("#form_createaccount").submit();

    }
</script>